<?php
/**
 * Created by PhpStorm.
 * User: serenehaly
 * Date: 2018/1/22
 * Time: 14:59
 */

namespace app\api\validate;


class PositiveInteger extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger'
    ];

    protected $message = [
        'id' => 'ID必须是正整数'
    ];
}